title: TypeError: Cannot read property 'token' of undefined
body: <p>I am facing this error : TypeError: Cannot read property 'token' of undefined
   - Here's <a href="https://github.com/DemigodR/MEAN_Stack/blob/master/server.js" rel="nofollow noreferrer">a link</a>! to my github page</p>
  
  <p>I am using a firefox addon to post data and sending data in json format like: {"x-access-token": "jashiuahf"}</p>
  
  <p>Here is the image <a href="https://i.stack.imgur.com/uMK6Q.png" rel="nofollow noreferrer">enter image description here</a> @fabio</p>
  
  <p>Can anybody help me solve this please!!!</p>