updating index page with user acocunt working