changed routing and books controller