fix logout ajax