Saving username to cookie.