Hitting problem my son had that but not now.He has grown out of it but we had to work a lot with him. First we gave him time outs which is necessary .He will give you hard time by screaming,banging head but when he will see that no one is listening he will not do it anymore.Second we taught him “hands are for helping ;not hurting” .Another solution which is not so good but anyways is that buy him punching bag so he can hit bat many time on punching bag and let his frustration out. But tell him people get hurt don’t hit them it hurts mommy,daddy everyone.Mainly in our case “hands are for helping;not hurting” thing work. But trust me you need to have a heart and keep telling them patiently please don’t hurt it hurts mummy.
For sleep I think he feels insecure and its totally normal they will stop coming when they will be 4 or 5. He is just 2 years old.Just give him bath before bed, read him story and lay down next to him until he sleeps.Children at this age feels comfortable when they are closer to their mommies and feel secure.May be some dream is bothering them that’s why they come.One thing you can do is whenever he comes you or your husband goes back with him in his bed and put him back to sleep; after doing this for 2,3 months they will get in a habit to sleep in their bed for whole night.