adjust to django auth