modified user create logic