fixed bug in resetPassword file and added url decoding