Added a fields validation during registration step