call resume before onInit in login