how do i add login/logout function to site?

I want to have the standard login link as well as a logout (when logged in) to the site. I think i would do that through widgets but I cannot figure it out. I am a novice so your patience is appreciated.

Thanks!