modify default function to create a user