simple rest controller