Changed RegistrationActivity to use AsyncTask to take pressure off main thread.