added logger for block and unblock, fixed use errors after adding lic