added bookings. Refactored permissions. Refactored settings.