Login

Implemented login and tested, fixed register, tested select for chrome.
Database now run solely on Daniel's account.