setting up the chatroom view with inputs and main.js file
working event listener
setting up ajax for a new message