admin var_dump

add function to dump var only for admin