title: accessing current logged in user id in custom route in loopback
body: <p>I am trying to access the currently logged in user in a custom route using context.options but find it blank. Trying to access in a operational hook 'before save' like this:</p>
  
  <pre><code>'use strict';
  module.exports = function (logs) {
    logs.observe('before save', async (ctx, next) =&gt; {
      console.log(ctx.options) //this is empty i.e {} 
  });
  </code></pre>
  
  <p>Here is my custom route (boot script - routes.js):</p>
  
  <pre><code>app.get('/logs/dl',(req,res)=&gt;{
  logs.create(logs,(err,obj)=&gt;{
            if(!err)
            {
              res.status(200);
              res.send(obj);
            }
            else
            {
              res.status(500);
              res.send('Some problem occurred. Please try again later')
            }
          });
  });
  </code></pre>
  
  <p>I need the access token and eventually currently logged in user. I believe that the problem is because of the custom route as with rest ctx.options is filled. In this case it is empty!</p>