first pass at converting to sopresto auth