public HashMap<Integer, Group> populateGroupsFromDatabase (
FlowscaleController controller) throws NoDatabaseException{
if (conn == null){
throw new NoDatabaseException();
}
FlowscaleController.logger
.info("adding groups from database incase there are any records ");