Adding and removing classes from student index page