Updated client to work on localhost