Fixed logout, changed request to post