Samsung Galaxy S4 root problem, Need help :(

A

AC Question

I was trying to get rid of all the bloatware on my S4 and now i f'd it up, when i try to start it up it gets stuck on the Samsung logo.
I did a factory reset and it all worked until i go to the end of the setup wizard, then i get an error saying "unfortunately, Setup wizard has stopped working" and I can't see my home screen, the home button doesn't work (wont send me to my home page).

Please help