Factored out e-prime helper, made it only active for logged in users.