finish simple register(action, service, dao)