Changed cache directory

Ran into some errors with WooCommerce so changed the cache base
directory to __DIR__
Add clear all cache

Added so we can clear all cache in cache directory
Added check for new account

Needed to re authenticate if the username is changed.