diff --git a/backend-services/friend-service/src/Middleware/Auth.ts b/backend-services/friend-service/src/Middleware/Auth.ts
index 5703ac905ce775684f243303b3de4ebdeefb3f13..6e13a5ee02a8eee129851a27fcb9b5ea06f3b9a5 100644
--- a/backend-services/friend-service/src/Middleware/Auth.ts
+++ b/backend-services/friend-service/src/Middleware/Auth.ts
@@ -5,7 +5,12 @@ import Config from '../../config'
 export const SECRET_KEY: Secret = Config.JWT_SECRET;
 
 export interface CustomJWTRequest extends Request {
- token?: string | JwtPayload;
+ token?: string | JwtPayload | TokenData;
+}
+
+export type TokenData = {
+  userId: string,
+  username: string
 }
 
 export const authorize = async (req: Request, res: Response, next: NextFunction) => {