Added ApplicationState class for handling accounts and other global values. Updated CreateAccount and Login.