changed user folder creation logic