Started implementing the log button