does any one knows why my laravel app.js disable some other js or jquery links

I am working on my collage project there is a problem with js links for example my bootstrap drop menu will not work if i link laravel app.js. but if i remove the app.js file which is from laravel asset then other links works perfectly. I have change places of links but didn't work if someone please help me Thanks this is image of my footer file which include all js links

  • Laravel 5.7, do something before user logout

    I wanted to set the current user type field to something else before logout but the problem is, I don't know which controller or which method I should put this code at. Btw, I don't have AuthController in Laravel 5.7.

    $user = Auth::user();
    $user->type = "something";