Added security, teachers validation and users management