Pass user object to html