create inputName and chatroom