Pull agar.auth functionality into user_auth.py for efficiency.