landing page for not logged or registered users before accesssing the web

What I want is a front page for my website with a login box and a button that redirect the user to the registration page, before they can get in the website. I want users to be logged or registered before they can access the home page or any other page of the website.