bug fix: users only includes friends, so current user needs to be assigned if otherwise undefined