added check for offline radius server
more stuff
better formatting of error messages