adding status code in pom