public void login(ActionEvent actionEvent) {
		if (("test".equalsIgnoreCase(getUsername())
				&& "test".equals(getPassword())) || ("aslan".equalsIgnoreCase(getUsername())
						&& "aslan".equals(getPassword())) || ("fat".equalsIgnoreCase(getUsername())
								&& "fat".equals(getPassword())) ) {
			try {
				FacesContext.getCurrentInstance().getExternalContext().redirect("home.xhtml?username=" +getUsername());
			} 
			catch (IOException e) {
				e.printStackTrace();
			}
		} else {
			FacesContext context = FacesContext.getCurrentInstance();
			context.addMessage("username", new FacesMessage(
					"Invalid UserName and Password"));
		}
	}