some changes
adjust for frontpage, reg.& pass