added second password encryption