changes that allows some CORS
updating with info about init bean