Updaded login use to async (missed in prev commit)