fixes in user management