User model added validation

Validation for password complexity