deleted extraneous createAccount function since there was 2