Got ajax requests fully working