change GetSession method return value