bugfix where user cache wasn't updating after logins