Error processing changes
Fixed logout request method