refactors chat into the new single page app structure
integrates chat into the when clicking on the menu