Sessioned Jade and Logout functionality