registration validation

registration validation