modified page system so home page can be staticly served