Login with Username or Email address

Hopefully this is up to snuff with the rest of your code. Let me know if this is a viable solution.