Added session middleware