add commets on gsp pages and clean some code