I wrote this application to practise authentication and user roles on node.js servers