retrieve stores info from db