Added simple authentication functionality for practice