Logout functionality implement kari