get & post of Ajax implemented