Adding generic to User.setLogin() signature