Finished user validation, and password encryption