Added second get/post check.