better browser messages and server responses