created ResolvedUser class, with subclasses AnonUser and AuthUser