Added logout interception and sending os/app versions