click through working and adding to the database