Added resume validation before submitting data.