Hi Vidhya,
When you changed her bed from your room to hers, was the change sudden or gradual? I think your daughter is not able to adjust to the change. If you make the change gradual, she might be more comfortable adjusting to it.
My daughter is 4years old and i am changing her bed from our room to her own room. But as kids cannot adjust to sudden changes, we first made her sleep in her own bed but in the same room. After 2 weeks, we changed her bed to her own room and i used to sleep beside her bed on a matress. Slowly, we made her sleep early with lights on and we are still awake. Now she is able to sleep by herself in her own room. But occasionally she comes to our room and insists on sleeping between us
Hope this helps.
-Lakshmi