Added DB utils and logs