implemented get hotel by id method