register functionality complete in  VC