user sign-in and flash