Update repository to have a user object.
Added a cache for user objects.
Flesh out the repository object.
Added a function to get organisation repository lists.