Removed session check from datarepository