send json after reset password insted of redirecting to login=page