refactor events controller, refactor bookings controller