Test the authintication and it is work perfectly