creating a chatroom with login