Logout ajax call

no clue what i'm doing, just want to see what happens