Several changes about user management