Changed method from post to get