Added ability to check if a requesting client is authenticated or not