Updated HTTP headers to include X-CSRF-Token, Logout working