Adding password encryption