add get all functionality to BugService