Update home.js

Deleted a console log and changed the response success to 0