login_required is a Flask-Login decorator that protects a view so only authenticated users can reach it.