added validations to need and location models, added locations table