Read data from db