create password and hashpassword working