Added a logout button. When the user logs out it removes them from the connected dict and from the session, then redirects to the login page
Added a logout button. When the user logs out it removes them from the connected dict and from the session, then redirects to the login page
Refactored code to break it down into smaller functions
User connected lists update when a user logs out (but still buggy)
Fixed logout so there are so bugs. All connected lists update when anyone logs out
Added some error handling -- doesn't freak out if user goes to the homepage without logging in
User can have multiple separate conversations. Labels for the conversation boxes are buggy and incorrect, and the messages need to be parsed.