changed url string to point to localhost for testing