using django contrib auth login as login view
refactored url access to the django way with reverse lookups and {% url %} lookups