refact manager html