use config instead of datatables to follow laravel standard