Validation Done for Insert

Nothing much just added the insert calling function to a if condition if the result is a true means item exists other wise just insert done