Missed a return statement in the bookcontroller