I think everything should work if createAccount method in AccountRegistrationActivity.java works.