changed so we embed user information via a template at the server side