Added conversation system and also restructure the code to be better modularized.
Added the logout functionality