code: 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);
        }
      }
docs: handles logout events
  
  @param  {Object} req  express request object
  @param  {Object} res  expresss response object
  @api public