Add LoginManager and LoginsDB to provide logining