fixes logout on internet reconnect and various errors
removes pubnub unsubscribe
add better logging
spacing changes
bumps version to 2.0.4
Merge branch 'develop', v2.0.4