Fixed logout issue by changing GET to POST