finished logic to get user input and populate details struct; also supplies defaults