make logout endpoint an option.  Thanks to  Christian Illy

modified:   lib/logout.js