added  change password method with criteria and response model as well as rspec tests
updated the existing change password method and modified the tests as well.