updating profile at every login.  taking a long time since is done synchronously