Added the ability to login, and add a user to the database