Move some logics from controller to service.