Template for a secure app with authorization and authentication using passport