created the new view and new method in controller