so users can't login as admin by passing in non-numeric values.
- improve existing vendor admin - fix adding a vendor which was broken - allow editing of a vendor
- much improved application class (same model as the other new classes I made) - modified category class - modified some files to use the new classes and methods - deletes linked elements on cascade