Saving current state - connecting to express