Database Insertion and Searching