moved chat functionality to navbar