added getById functionality to some DAOs