HTTP methods matter
GET asks for data. There are other verbs too:
GET: read something.POST: send new data (like a sign-up form).PUT: replace existing data.DELETE: remove data.
Express has a method for each:
app.post('/login', handler);
Choosing the right method is not optional, it is how the whole web understands what an action means.