Implement user logout and update admin logout

Provided the local copy of the admin_base so that all user admin site can have logout.

Updated the pep8 for url.py