NodeJS authentication for CodeIgniter