Adding password encryption and email to users for authentication