should show the log in page rather than log out to avoid template error