add rest controller sample