adding entry controller and view