Implemented django auth and login_required decorator on views