New logic to display the login/logout and admin-button, i also change the links at the navbar