Framework for access control data logging

Hi!,
i’m developing a Photon-based access control and from my initial idea, i would like to store the information related to the authorized personal in a database located o a server, from where data (consisting mainly on a .bmp file with a photo and some personal info) is sent to the photon, which will send back to the server database the timestamp info related to the access time. i was thinking about using Node.js with Deployd and MongoDB as an alternative to PHP and MySQL. Does any of you experts have any better proposal to develop this framework? . Any idea will be appreciated. Thanks