Added feature to ensure projects and tasks can be edited only by their owner or by admin.