Adding authentication helper