changed app.js file app name and got photos stored in db now