Add user to settings database when they log in for the first time.

Change-Id: Ibe092f7f78fd176d38fa16b8e6b1cb1d6d7c2518