work on messages.html