addition of ToDo and Log page code