bugfix: not display username when refreshing page