fixed authentication
Merge pull request #24 from AndersEverett/anders_authenticate_attempt

fixed authentication