Authentication working with a user name