Tweaks around closing and rendering page. Added passport-github too