Adding facility for allowing apps to be queried by user_id