;color:#333;display:inline-block;margin:0 0 10px;padding:10px 15px;text-decoration:none;}
.button:hover {background:#e8e8e8;}
</code></pre>
<p>Right now, this component does nothing to respond to user events. Let&#39;s add some code to our <code>User</code> model in <code>src/models/User.js</code>. This is how the code is right now:</p>
<pre><code class="lang-javascript">// src/models/User.js
var m = require(&quot;mithril&quot;)

var User = {
    list: [],
    loadList: function() {
        return m.request