added tests for errors, updated flash
Finish sign-in-out
Finish sign-in-out