Added the updated homecontroller.cs.