check authentication statsu before requrest