Rescue error when user not found in api and return http 404