updated password validation/ fixed models for users/students/teachers