finalised the password encryption. Usability fixes