Added some functionality for storing auth data + help others work