change return code for unauthorized entries