Moving initializing of user data into method