public User login(String userName, String password) {
		ArrayList<User> lista = (ArrayList<User>) userList.getUserList();
		for (User us : lista) {
			if (userName.equals(us.getName())
					&& password.equals(us.getPassword())) {
				return us;
			}
		}
		return null;
	}