added routes for teacher and pupil
added helper method to indicate account activity state