updating controllers

updating controllers and view