Added authkey generation