database: only try command if userInfo was successful.