fixed login screen error and initialized yaml on startup