add state display in webstie