refactor at all urls.py