Adding indexing by user id