made file generate token by putting an entry in visitor_details table
testing red bean php