guarding in case of failure
fixed user creation