full rewrite method get_msg (to get_all_msg), add backdoor for webclient