i have a 2 and a half year old and she was like that a few months ago,didnt want to go in her bed wanted to come in mine all the time,what i did was say to her right were going up now,she didnt like it, i sat on the end of your bed read her a book then told her, youve got to go sleep now,and im going in my bed as well, then when you wake up when its light we will do something nice.i did that for three nights now she goes up with no problems as long as i read her a book first but dont mind that at all.good luck