better checking backend class auth