Mobile register bugs

mobileRegister now returns the userID and the mobile token so that the
ID can be stored in the app preferences.  This fixes the bug that caused
the app to often crash once a new user registers via the app.