updated code

-Set varnish header for logged in or guest user
-better php coding of the plugin

Signed-off-by: dgt41 <d.grammatiko@gmail.com>
Structure reform

Signed-off-by: dgt41 <d.grammatiko@gmail.com>