Added authentication feature to proxy