Chatroom combining 2 tutorials and adding additional functionality after