Added error handler
Added toastr for notifications