Added rename code for guests and staff.