How can I show a message to logged out users in the Q&A

I want to show a message to logged out users saying: Please Login or Register. I want to link Login to http://developergenius.com/log-in/ and Register to http://developergenius.com/register/. If you can't do this then I need to get the message across somehow where they need to.