Storing code in cookie so the user won't need to log in for 10 years
Logout should delete cookie