Deferred resetting session and validating views. Should fix #77.