adding validation for signup form in vendor.rb model