display app state on visit