adding logout button to settings page.  moving user to main page (from splash page) if they have already logged in.