app.user undefined on cold load