MVC, express, JADE/PHP render, mysql user store, tracks devices