added args validation on server and web client fixes #29