registration modal, enter modal, fix errors