created getPage method and refactored hasPage to use it
created getPage method and refactored hasPage to use it

slaymaster3000/grandtraining-website,slaymaster3000/grandtraining-website,slaymaster3000/grandtraining-website