shortened code
separated edit/send session keys from edit pages
separated rename-*/send page values from rename-* pages