Handle server side errors and polish style