53545556575859606162
} public User loginUser(String login, String password) throws AuthenticationException { User user = users.query(login, password); if (user == null) { throw new AuthenticationException(); } userId = user.getId(); return user; }