moved interaction with database into DopeHoodAPI