implement create room at frontend