adding sql file and some sessions stuff.