Remake code that was apparently deleted for logout. Fix  #81

It works now...
![](https://s3.amazonaws.com/livelygreendoor/2013/05/gif-ron-swanson-shrug.gif)