Trying to break apart local storage and global userIds
wrap the two getUserid calls in one