change the layout of the dashboard page and all the private pages