changes to homecontroller