Showing error toast on ajax request failure

Now the dashboard shows an error toast on ajax request failures