Refactored links.js. Implemented authorization of incoming POST requests.
Forgot that node.js doesn't wait for query to finish. I made callbacks for successful and unsuccessful auth query results.
Index page now show links with nick and timestamp.