Implements github authentication