added reg form front end