added category in book creation, in view and adjusted relationships