add refresh button and new messages alert in messages