Broke user login related views/functions to a different file
Schedules ordered by id