changed json parsing function in user_home.html