fixed require for check session