page_type variable to detect home