adding my if statement to make sure the GET Exists