CAL-861 small refactor on rest for get event categories
CAL-861 implement rest api for invitations