Add check for is_user_logged_in in getBlogInfoData