Added comment to explain double $email assignment to user-login
user get_user_by instead of get_userdatabylogin()
Added comment clarifying user_login input name