code: function logout(){
      console.log('Logout called');
      grout.logout().then(function(){
        console.log('successful logout');
        setStatus();
      }, function (err){
        console.error('logout() : Error logging out:', err);
      });
    }
docs: Log currently logged in user out