Fixed redirect bug for edit users