Fix APIs to get email from session and not from request.