set up book controller