created instance of UserInfo from user inputs