More progress on scheduling algorithm; added route to retrieve users occasions; migrations for FK for time slots