cache object for auth