Fix unsigned user can access restricted pages