Offline mode updated to retain user login status. Also updated localStor...

...age keys.