add db function to read room from row