#6: created a controller and view for creating and viewing task