validates the correct word server side