I want the link when clicking on "Place and ad" should go to the register page instead of the login page if the arent logged in.

I want the user to create an account before the can place a listing...