Added edit redirect for student record page