Fixed urls, validity of the session. All call now use ssl. Also updated documentation.