Adds exception handles for no authentication token/bad credentials