introduced post and get with ajax