change pass, changeemail security

unit tests for change pass, removed unneeded files