page redirect and json data