remove console log
error checking in jwt auth