added log out option