When I am logged-in the page doesn't look the same as when I am logged-off Do I need to include something in the code or in settings.

I have a problem which is that pages don't look the same when I am login or not. Like on photo down. Some help or suggestion?

This is my code. Does I need to add Edit and view bartik?

Whan I change base theme: stable with base theme: bartik bug is fixed.

&lt;main role="main" class="node-main"&gt;
&lt;div class="container"&gt;
    &lt;div class="row"&gt;
        &lt;a id="main-content" tabindex="-1"&gt;&lt;/a&gt;{# link is in html.html.twig #}

        &lt;div class="col-md-8 node-page"&gt;
            {{ page.content }}
        &lt;/div&gt;{# /.layout-content #}

        &lt;div class="col-md-4 node-aside"&gt;
            &lt;aside &gt;
            {% if page.sidebar_first %}
                    {{ page.sidebar_first }}
            {% endif %}
            {% if page.sidebar_second %}
                    {{ page.sidebar_second }}
            {% endif %}
            &lt;/aside&gt;
        &lt;/div&gt;

    &lt;/div&gt;
&lt;/div&gt;
What you see / notice is pretty standard Drupal ... The link like "Add content" is something you typically only want to be shown for logged in user (and maybe even limited to users with roles such as "content editor" (or whatever you'd call it). Also, the small icons in the upper left (above "logo" and "home") are typically also things you only should be able to use if you are logged in.

Should you want to change any of such things (eg: anonymous users should also be able to "add content"), then it's just a matter of finding out which permission it is that actually governs the specific function (such as "add content"), and then indicate in your "permissions" page within admin that is related to it that you want "role" anonymous to have the very same permission.