how do I add custom link logout to menu

using buddypress and your protected content - want to add a custom login/logout to menu - did the login but do not know how to do the logout so the login changes to logout after you login and when you click logout you logout and go to a certain page and the logout in the menu changes to login

thank you
site is and I have granted you access