Fixed issue in setting user after login

As refreshUserInfo will set user but in login method user wil get override
by data.user.