Added proper handling of admin right to reset