chnages in app.js

get user details and update user details