Topic: Login redirection & Logout Link?

Hi,

In the header of my website I have a Login Link. How can I have it redirect back to the main page of my website after a user logs in?

Is there a way I can have a "Logout" link on my main site page?

Thanks,

webcoder