add code to remember logged in user on page nav/refresh