register view, template and url