added logic to display correct user points on home screen