Added auditing, improved authentication and auth