all good on android. added in ajax call to insert reg id