More PHP feature work

More work towards #4 - only need a countdown clock now.. Should this be
to do with session length or inactivity time?