added check for not null in index page user list