changed some ajax requests from get to post

idk why though