implemented pupil and teacher list into settings