title: Loopback 4: Extend the built in User model
body: <p>I am migrating from Loopback 3 to 4.</p>
  
  <p>The question is what do I do with my user model that was extended from the built-in User model. I tried to play with the model generator: <code>lb4 model [options] [&lt;name&gt;]</code>
  But there are no built-in models available as far as I can see.</p>
  
  <p>I saw <a href="https://loopback.io/doc/en/lb4/Decorators_openapi.html#requestbody-decorator" rel="nofollow noreferrer">an example</a> in the documentation where a user model was defined without a base model.</p>
  
  <ul>
  <li>Is this the way to go?</li>
  <li>How do I use the built-in user features like Login etc.?</li>
  </ul>