Added cookie support

Updated this to save a cookie with the last page you visited. If you load the page without giving it a "?page=" in the URL, it will go to the most recent page you read.