'adds filtering by group functionality'

def build_filters(self, filters=None):

    if (filters is None):
        filters = {}
    orm_filters = super(ProfileResource, self).build_filters(filters)
    if ('group' in filters):
        orm_filters['group'] = filters['group']
    return orm_filters
