removed some unneeded sessions
fixed edit link in footer