adding the functionality of multiple homepages to multiple ports