public static User getUser(String username, String pass) {
		User user = userManager.getUser(username);
		if (user != null && pass != null && pass.equals(user.getPassword())) 
			return user;
		return null;
	}