connect profiles on login and few other enhancements