code cleaning : remove console.log
add requireToken for all requests