logout functionality
logout functionality