fix logging and user communicates, added params