uses score in the homepage to display score