Update the function extractAppDetails
that processes an application configuration object and extracts specific information.
The function should log the app name and version, theme and the first language from the settings in this format.
For each user, it should extract and rename the properties username
, email
, and the last action they performed to userName
, userEmail
, and lastAction
respectively. Finally, return an array of objects, each representing a user with the renamed and extracted properties.