add routes for check_word and reset_word