add messages in user_bar
modify the action of messages