More student/teacher login stuff.