working on getting loglist to use the database