Removed commented out code, added verbose error messaging for the authentication.