Show menu item for logged in user

Want to have a link for logged in user. I've done the code but the whole menu just disappeared. Need help.