How to Change LogIn item to Logout in Fontaine template

Can Anyone guide me when I log in as a user, how can I change Log In to Log out in this template?
Please see in image.