[TASK] Define authorship in repository class
[TASK] Streamline repositories
[TASK] Add extend Task and Invitation controller