fixed problems for user in populate_demo_data