add get controller rest method