add selection functionality for users index page