Fixed db init bug. null stream_onwer defaults to authenticated user.