@user_required
def get(self, user, word):
    define = models.Word.objects(word=word).first()
    if define:
        return json.loads(define.to_json())
    else:
        return ({'message': 'not found'}, 404)
@user_required
def get(self, user, word):
    define = models.Word.objects(word=word).first()
    if define:
        return json.loads(define.to_json())
    else:
        return ({'message': 'not found'}, 404)