Start implementation of client-side errors. Doesnt work yet since there is a problem back end (the front end doesnt receive any errors for the moment..)