add req.user for error page