User Management

Please check the comments in the code. And the entries to audit log are
buggy...