Make the earn page dynamic