Handling only a specific error in change password.
Moved get and set private data functions to store.