Logout functionality updated
TODO to post to logout service