populate user object in all templates