Added createAccount functionality