fixed another access to localhost on client side. Switched it to correctly access the server on Sam's AWS box