updated the authentication mechanism of hive