Minor changes
Implement ability to know when login failed due to poor connection in Singleton