public boolean updateUser(String login, User newUser) {
        if (checkUserLogin(login)) {
            if (userGateway.updateUser(login,newUser)) {
                return true;
            }
        }
        return false;
    }