Fixed issue in setting user after login

As refreshUserInfo will set user but in login method user wil get override
by data.user.
Merge pull request #3 from tarunbhardwaj/task-3641

Fixed issue in setting user after login #3641