Fixed check for user email address