Added verification system so that passwords are only updated if they currently contain a valid password