added support for v4 (user profile)