added user type to index view