previousnickname must be retrieved from history.state because of the location.reload design