Gets bookings for viewing from DB.