/**
  * Will log the user into the web site using container managed security
  *
  * @return Will take the user to the Welcome page or will return the user back to the log in page
  *     with an error message
  */
 public String login() {
   FacesContext context = FacesContext.getCurrentInstance();
   HttpServletRequest request = (HttpServletRequest) context.getExternalContext().getRequest();
   try {
     // If the log in is successful..
     request.login(currentLogin.getUsername(), currentLogin.getPassword());
     return "welcome?faces-redirect=true";
   } catch (ServletException e) {
     // else...
     displayMessage("Username or password is incorrect!");
     return null;
   }
 }