added option for anonymous API calls (not related to a specific user)