Why does my page just refresh when I click on login or create account within the loyalty panel?

When I click on the 'Create account' or 'Log in' button with the loyalty panel, it just refreshes my main screen - why is this happening?

This is happening because your store does not have customer accounts enabled..

You can see a guide to customer accounts in Shopify - including how to enable them -  here:

https://help.shopify.com/manual/customers/customer-accounts