Pass user object to index