fixed authenticate service