removing hardcoded state servlet paths