Escape username in template