Implemented Search Activity with database connection