Check for correct credentials

Fixes #24 
Should check if the split has at least 2 items before grabbing the [1] index, or a black hole will be created and the world will blow up.  :metal: