Encrypted the password before it is entered into the database