books controller