Update manage.py to use permissions