refactor session new haml