added a log out item to navbar for users once they are logged in
added a logout route to log out users and remove them from the session
changed/streamlined error handling from db