By default, the admin toolbar is always displayed to your users, but it is often not ideal to have that toolbar displayed to all your users. Fortunately, here is a small plugin that will allow you to hide it :
If you want to have more control, you can use the “Hide Admin Bar From Non-admins” plugin. It will allow you to hide the Admin bar for the user roles of your choice:
If you want to learn more about the subject, we recommend that you read this very complete article :
I want to make my site totally private
If you want to have your site totally private (no access for non logged users), you must use the Private Site plugin (https://wordpress.org/plugins/jonradio-private-site/).
Here is an article that could help you to achieve this behaviour :