Updating logout to remove local data