student and teacher pages working