if user was logged in then do not as for update password