need to use middleware, not sure what's wrong with the github callback. hopefully this should fix it.