get smoje via rest instead of direct db conn