return null;
}
public User register(String login, String name, String password) {
if (findByLogin(login) != null) {
throw new MovieDbException("login is already taken");
}
User user = new User();
user.setId(login);
user.setName(name);
user.setPassword(password);