Changed name from getUserByMail to getUser.