made the html and controllers for each