restful controllers wrap, only use on connect