Fix ranking; add pid to manage users