getting authentication test to work now
added flash logic
gree