Added endpoint to retrieve details of the logged in user