I created a function to create a new user with the following code, which creates the user and changes their displayName:
export function handleSignup(email, p