code: @Post
  	@Public
  	public void login(String login, String password) {
  		// search for the user in the database
  		final User currentUser = dao.find(login, password);
  
  		// if no user is found, adds an error message to the validator
  		// "invalid_login_or_password" is the message key from messages.properties,
  		// and that key is used with the fmt taglib in index.jsp, for example: <fmt:message key="error.key">
  		validator.check(currentUser != null, new SimpleMessage("login", "invalid_login_or_password"));
  		
  		// you can use "this" to redirect to another logic from this controller
  		validator.onErrorUsePageOf(this).login();
  
  		// the login was valid, add user to session
  		userInfo.login(currentUser);
  
  		// we don't want to go to default page (/WEB-INF/jsp/home/login.jsp)
  		// we want to redirect to the user's home
  		result.redirectTo(UsersController.class).home();
  	}
docs: Since we are using the convention, the URI for this method is
  /home/login
  
  The method parameters are set with request parameters named
  login and password. Thus if we have the request:
  
  POST /home/login
  login=john
  password=nobodyknows
  
  VRaptor will call:
  homeController.login("john", "nobodyknows");
  
  This method only accept POST requests