simplify authenticatation