Read entries from db