Implemented ajax request for IdServer