Aggiustata "bad request" in Headquarterview.js