Added django authentication and login_required to views.