title: Post Restful Authentication
body: <p>I am using MEAN stack for developing a web application. I choose it be completely RESTFULL that is stateless. For authentication I am using JWT(Json Web Token) strategy. </p>
  
  <p>Client sends login request to server, server authenticates and sends JWT and user data to the client(here angular 2).I am storing this JWT token in the cookie.</p>
  
  <p>Now my question is how do we store/display user details in the view continuously. For eg if we consider Facebook as restful , after a user logs in, client display user data such as profile image, profile link etc etc. </p>
  
  <p>Since Rest Authentication just retrieves the data, with credentials sent in each request. </p>
  
  <p>How are these user related data retained in the client side. Is it like for each request, user data is fetched from the server and updated continuously in the view.</p>
  
  <p>If yes how or if no then am I missing something.</p>
  
  <p>I know this question might be nonsense to experts, but any advice, suggestion or kickstarter information would be helpful for a novice like me.Are there any best practises for these?</p>
  
  <p>Thanks in advance</p>