Fixed errors in fucntionality that verified if the input submitted is a string and removed unnecessary functionality that tried to listen to api errors.