Added registration form and its validation (frontend), entity edit.