Changed ip address to be localhost for testing purposes
Now takes from webpage data
made form POST