Encrypts passwords and user login form validation issue #4