Added start session function