fixed issue where the browser sent a GET request instead of DELETE when users log out.