blog controller for searching by user and slug