invoke login directive by bootstrap success