moving search function and fixing how it displays

beginning to put in Edit and Delete functions