added search field and ready for database integration