Add loginManager to app.