Feature auth

Closes #21