changed php from get to post