Catch exceptions authenticate service