init behind menu,loaded from url