Add password validation and secure password