complete the function about add sitemessage to filter the users