add json return
fix models and add return json
fix return when there is a wrong req
remove unnecessay log int get_url