removed unnecessary methods in controllers
added nonaction to controllers