implement the create_room api in rust