in function web_register_node 'mac' will override mac from session