Small edits to controllers file and to hom template