refactor create controller to use stacheservice