extract status field to a function, for future refactoring
rename to 'all.ejs', it should be a one-page app..
start using socket.io