Added saving user name to the cookies