Added login_required to appropriate pages.