Updated task to now create the user if it doesn't exist