Added code for reseting password