added error and check to forms for add place