add logger
add to logger tableView delegate and dataSource
fix some stupid bugs