removed shared container handling from liteauth, refactored metadata functions