title: Session management in Next.js
body: <p>I am using nextjs in my reactjs project. In nextjs the getInitialProps() is called on the serverend for the first page load, and because of that we cannot access the localstorage to get sessions.
  How can we manage sessions properly with nextjs. </p>