session and helper classes added