added before filter methods and helpers files for students and teachers
Merge pull request #22 from rwarbelow/add_before_filters

added before filter methods and helpers files for students and teachers