Further improvements to offline function.
Now deleting local store when user logs out.
This prevents data from bleeding between accounts.
A real phone is highly recommended to test with.