created a user_data function in the UserProfile class which returns a dictionary of user preferences for the plugins