Some changes made to books model and controller