Implemented reulate.js into regiser form