Added loading of database to generate controller since the db object no longer exists since the logs_model was removed from the Fuel_admin::initialize method