added word verification on server side