added access control, lingr.py