fixed issue where every current user would use the last-to-login user's friends because of a global variable issue