Added authentication feature