auth formatting etc