OK so I'm a bit confused now..
So I need the page to be accessed by logged in users only, so 'acc_id' and 'emailVerified' is checked. Then I need to check on the 'status' value. if it's 'consolidation' then its accessed. If its 'consolidated' then the user is redirected to another page ( consent-list.php )
So how can I achieve these two goals?