Authorization and authentication methods added.