Added secure authentication