Update authentication.py