books controller template and routing