fix the task listing
security xml changes: refactoring, better logging