@Override
	public boolean checkPassword(String userName, String password) {
		User user = userDao.checkUserName(userName);
		boolean correct = false;
		if (user!=null && password.equals(user.getPassword())){
			correct = true;
		}
		return correct;
	}