auth: add validation to registration form