throbber and error handling on server