outline of flux user flow.  needs a lot of cleaning up and refactoring.
login flow with placeholder name