Added auto add to database when timing in and out