manage mgs over html