Student index now checks that user is logged in and is a student