Pulled in code from auth package