Added changes for resetting password from login screen and from
settings.