split get_page method
refact logger
highlight output