Implement authentication

That is, make it actually work :)
we use camelcase in the `config.js`