update vendor create logic
added functionality to add vendors
removed as duplicate
display of error fixed