Added error handling and fixed Authenticate method.
Updated README.