authentication debugging is fixed