add authorization for routes, and clean the ifs
add authorization for routes, and clean the ifs

dongliu/traveler,iTerminate/traveler,iTerminate/traveler,dongliu/traveler,iTerminate/traveler,dongliu/traveler,iTerminate/traveler