add encrypted password feature

now password is encrypted at user sign in.