added reg page; work ok. Need more biz logic.