implemented popups for server errors