added secure password and validation in customer model