Added methods to get warden user id from a session.