Gets the authenticated user's role from the request.
Express request object.
The user role or undefined.
Gets the authenticated user's role from the request.