switch unless for if

unless confuses me when there is an else :p, also is it 'safe' to have the production Client Secret there?
use github secret instead of hardcoded
use github['key']
Merge pull request #170 from acrogenesis/patch-2

switch unless for if