edited some form error things and added some validations