added a class to crypt the password