new password encoder util class
implementation of User create/edit