making create past visit only on the past and changing button to be grey