changed config module and fixed request response and session