Solved #2: can now search by guest name or check in date. Changed Guest.details to booking_history.