modified start.js; fix bug: show logout if method config.authenticate does not exist