Started on auth code methods