add contact function to user index