extracted auth storage into general_store