Add github auth callback and config json handling