Added catches for 401's, fixed bug in createNewWord sql stmt