Added session functions; correct paths to modules.