more setup for cancan, protect teacher and student pages