before github auth