more changes in homecontroller