added extra js and css blocks to base.html and imported login_required from the correct module