Implement real time messaging and dynamic sidebar