Added new user management and fixed security issues.