made the username a cookie that terminates on browser session close