Error handling & exit support works now. In case of error, the user object gets reinitialized. Front end receive data.status = 'error' & it calls initialize. The functionality is mapped to the reset button as well