added flash to login