added reg,and admin page