reading from db, after hour of fucking with callback