add pw_user_revision switch view functionality to differentiate between user role candidate and deputy