Rename cookie secret
Cleanup and comments