Updated Constant Component to fetch vars in initialize instead of beforeFilter