Jdu/user auth

Fixes #31