added /messagecount endpoint
html file to render the messagecount