Added optimistic locking exception handling to user flow.