add validation to projects model