fix permissions issues with the new user management