get simple authentication working