Update _app.js

init authentificated state