different login success script to remove loading display