added the  template for registration