added functionality for getting groups and reminders via api