Created page methods for checking headers and added default values to location dictionary