added 'ticket' and 'userProfile' to the resources for the API