Added option to authenticate user for web services