completed simple authentication