class UserService {

    public boolean addUser(LoginUser user) throws SQLException {
        user.setPassword(encdecConfiguration.parseUnidirection(user.getPassword()));
        return loginUserDao.insertUser(user) > 1;
    }

}