refactor and add commens to HotelController