removed unnecessary controller declaration from view