added payment functionality to HS page