Modify the web application to fix the error in login, the error is, when logged in, the page is redirected into the guest page and not on the authenticated page with action (add, edit, delete), modify the web application and add a condition in changes the layout in the blade if the user is not logged in, the guest layout will be used no action on the company and brand, if logged in, the list will be shown with the action. checked if the condition added will return the correct process, as per checking, it did not take effect, and no changes were made, search for another approach on the condition in the layout for the blade for fixing the problem on the login.