Figured out authentication mechanism