Optimise get roles
Optimise to reuse repository connection in enroler that runs on every
request