flash, login fail handling