switched to cordova/ionic optimized library, login loads chats