added log out destroy session functionality