Yes, this is a bad merge. I replaced ``{% if request.user.username %}`` with ``{% if request.user.is_authenticated %}``