Fixes #31 Authentication