working on book controller