Removing ProfileMiddleware