app overhaul (node.js, mongodb and express)

implemented very basic user login system (bugs and cookie issue to be
fixed later)