added simple authentication for demo