adding age check to front end