Using repository in the rest of the controllers.