updated login for student/teacher