get all places from database