removed session from input class