style for reset-edit
add validation for registration