controller use logger pkg