More checks when getting access page

Parent of front page caused some problems...