Save most recent step to db for analytics. Save connection to db for OAuth purposes.