public boolean isValidPassword(String userName, String password) {
		try {
			LoginDao ds = new LoginDao();
			String pwdFromDB = ds.getUserPassword(userName);

			if (null != pwdFromDB) {
				if (pwdFromDB.equals(password)) {
					return true;
				}
			}
		} catch (Exception ex) {
			if (!(ex instanceof DaoException)) {
				ex.printStackTrace();
			}
			throw new ServiceException("global.exception.message");
		}
		return false;
	}