windows compatibility, fixed bugs in user management