Made Metadata setting work without a logged in User