I am trying to create a menu that when visitors come to my

Hi,

I am trying to create a menu that when visitors come to my site they are presented with one menu with a login link and when registered users login there should be a logout link. I have been trying to resolve this for almost a week now. Do you have any recommendations? Thanks in advanced.