On the main page, display 'logout' only if the user is logged in. Display 'login' and 'signup' only if they are not. See https://github.com/lovasoa/SQLpage/discussions/55
see https://github.com/lovasoa/SQLpage/issues/12