Added client-side validation and fixed some bugs when creating new vehicles