Login screen functionality implemented

I added the login and new user functionality to the login screen.  I
also added the logout functionality to the settings page.