Problem with Google login / Create Account

So I have ran into a problem while implementing google login / create account, I am attaching my action block and also the screenshot of the screen.

The user is required to have the checkbox checked and only then they would be able to sign in or create an account but it takes them right to the homepage with no user logged in and it shows all the data without respect to the logged in user.

My action block looks like this, the page states being updated are to show the error message if the user clicks on any auth button without having the checkbox as checked. So if the checkbox is not checked it takes the user right to the home screen without logging into anything but if I check the checkbox then it opens up the google signin popup.

Further I want to know the difference between create account and log in for social and google auth.

Thanks.