title: Clear user session on closing browser in Wordpress
body: <p>I want to clear the current session of a user on frontend in wordpress while closing the browser or tab. Currently when I login and close the browser, the user is already logged in. </p>
  
  <p>I am using Wordpress 4.0 version. So please advise how I achieve this.</p>