Added grade viewing for both students and teachers