dodanie public do mongorepository