add authentication helpers