refactored login to reflect new users table
refactored so students have view of classes they are in