fix divide by zero error, allow users to edit projects, revoke user's delete on tasks