Changed the way in which we save the passwords