added validation on tasks, users, and projects