fix bug with validation Registration/RecoverPassword