initial blog search function