lib/cycle.js
function(req, res) {
      waterlock.logger.debug('user logout');
      delete(req.session.user);

      if (req.session.authenticated) {
        this.logoutSuccess(req, res);
      } else {
        this.logoutFailure(req, res);
      }
    }
function(req, res) {
      waterlock.logger.debug('user logout');
      delete(req.session.user);

      if (req.session.authenticated) {
        this.logoutSuccess(req, res);
      } else {
        this.logoutFailure(req, res);
      }
    }
function ( req , res ) { waterlock . logger . debug ( 'user logout' ) ; delete ( req . session . user ) ; if ( req . session . authenticated ) { this . logoutSuccess ( req , res ) ; } else { this . logoutFailure ( req , res ) ; } }
handles logout events

@param  {Object} req  express request object
@param  {Object} res  expresss response object
@api public
handles logout events