Added (true) auth support and lots of enhancements and fixes