user session destroy fixes