Made page switch auto when image is processed. Upload of image to server functional