fixing bug with student page for admin