add get controller by id method