Added registeration validation