there I have created a login and register buttons

HI there

I have created a login and register buttons on the landing page to my website but it won't load the register page it just redirects back to the landing page? The login button was the same until I changed it to open in a new window but that still takes forever?