made a basic using session