renamed some sendMsg() in log() and sendError in error()
added unauthorized() and forbidden()
removed log file system