reset password. bugs fixed