implemented restore nick on page load