Adding callbackk handling for HeaderDoi

Improving on form validation