achieve functions of scheduel#index/create/destroy