Forgot to unserialze class
Resetting curl every time now
Forgot to add logger before error