added simple authentication