changed login to flash