added daily log retrieval and creation functions