This is fine, but it will show a "log in" link on the /login page, too, linking back to itself, which seems unnecessary.  Better to put this only on the show_entries.html template.