Added the UserId and UserName fields to the Application struct.