Committing the changes in the homecontroller