fixed bug when using pkey and added auth line in host view