Created controller for endorsements
amended index page to refer to endorsements; added test to check number of endorsements