added getword endpoint, and the front paget