moved preferences for student show page into model and controller
added links to student show preferences