check and guest method all return Boolean controller middleware("auth",[only=>[]]) middleware 兩個重要的參數是request 和next 其中request 這個類里的方法值得好好研究