remove ajax request when logout