design struct to save data from front page