added validations to restaurant model