Fix admin page block bug

Remove session variable hiding getSession method